package com.bis.common.entity;

import com.bis.framework.annotation.TableAnnotation;
import com.bis.framework.base.entity.BaseEntity;

/**
 * 模 块：数据字典编码
 */
@TableAnnotation(table = "CODE_SYS")
public class CodeEntity extends BaseEntity
{

	private static final long	serialVersionUID	= 1L;

	//编码
	@TableAnnotation(isCode = true)
	private String				id					= null;
	private String				idKey				= null;
	//编号分类
	@TableAnnotation(isCode = true)
	private String				typeCode			= null;
	//编号分类
	@TableAnnotation
	private String				typeName			= null;
	//编码名称
	@TableAnnotation
	private String				name				= null;
	//是否系统
	@TableAnnotation
	private Integer				is_system;
	//是否被删除
	@TableAnnotation
	private Integer				is_delete;
	private String				idKeyName;
	private String				showValue;
	private String				idkeyCode;
	private String				idkeyCodeName;

	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getIdKey()
	{
		return idKey;
	}

	public void setIdKey(String idKey)
	{
		this.idKey = idKey;
	}

	public Integer getIs_delete()
	{
		return is_delete;
	}

	public void setIs_delete(Integer is_delete)
	{
		this.is_delete = is_delete;
	}

	public Integer getIs_system()
	{
		return is_system;
	}

	public Integer getIs_systemname()
	{
		if (is_system == 1)
		{
			return '是';
		}
		else
		{
			return '否';
		}
	}

	public void setIs_system(Integer is_system)
	{
		this.is_system = is_system;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getTypeCode()
	{
		return typeCode;
	}

	public void setTypeCode(String typeCode)
	{
		this.typeCode = typeCode;
	}

	public String getTypeName()
	{
		return typeName;
	}

	public void setTypeName(String typeName)
	{
		this.typeName = typeName;
	}

	public String getShowValue()
	{
		return showValue;
	}

	public void setShowValue(String showValue)
	{
		this.showValue = showValue;
	}

	public String getIdKeyName()
	{
		return idKeyName;
	}

	public void setIdKeyName(String idKeyName)
	{
		this.idKeyName = idKeyName;
	}

	public String getIdkeyCode()
	{
		return idkeyCode;
	}

	public void setIdkeyCode(String idkeyCode)
	{
		this.idkeyCode = idkeyCode;
	}

	public String getIdkeyCodeName()
	{
		return idkeyCodeName;
	}

	public void setIdkeyCodeName(String idkeyCodeName)
	{
		this.idkeyCodeName = idkeyCodeName;
	}

}